﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="1005.aspx.cs" Inherits="_1005" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
	<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
		SelectMethod="Get_board_AllData" TypeName="CCH.DAO.boardDAO" EnablePaging="True"
		SelectCountMethod="Get_board_AllData_Count">
		<SelectParameters>
			<asp:Parameter DefaultValue="0" Name="boa_isreply" Type="String" />
		</SelectParameters>
	</asp:ObjectDataSource>
	<table class="webpath">
		<tr>
			<td style='vertical-align: middle'>
				<img src="images/photo/home.gif">
			</td>
			<td style='vertical-align: middle'>
				<a href="index.aspx"><% Response.Write("首頁".ConverToCN());%></a>
			</td>
		</tr>
	</table>
	<div class="guestbook">
		<div class="guestbook_list_head">
		<div class="maincol_head_date"><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="1005-2.aspx"><% Response.Write("我要留言".ConverToCN());%></asp:HyperLink></div>
		</div>
		<div id="maincol_mod_list" class="maincol_mod_list">
			<asp:ListView ID="ListView1" runat="server" DataSourceID="ObjectDataSource1">
				<EmptyDataTemplate>
					<p>
						<span id="sp_DATA"><% Response.Write("查無資料".ConverToCN());%></span></p>
				</EmptyDataTemplate>
				<ItemTemplate>
					<p>
						<span id="sp_date">
							<%# Eval("boa_datetime").ConvertToShowDT() %></span><span id="sp_DATA"><a href='1005-1.aspx?boa_no=<%# Eval("boa_no") %>'><%# Eval("boa_title").ConverToCN().TitleSubstring()%></a></span><span
								id="sp_guest"><%# Eval("boa_name").ConverToCN()%></span></p>
				</ItemTemplate>
			</asp:ListView>
		</div>
		<div id="maincol_mod_foot">
		</div>
		<div class="pager">
			<asp:DataPager ID="DataPager1" runat="server" PagedControlID="ListView1" PageSize="20">
				<Fields>
					<CCH:GooglePagerField />
				</Fields>
			</asp:DataPager>
		</div>
	</div>
</asp:Content>

